home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / os2 / plnk081.zip / pilot-link.0.8.1 / include / pi-appinfo.h < prev    next >
C/C++ Source or Header  |  1997-08-01  |  970b  |  31 lines

  1. #ifndef _PILOT_APPINFO_H_        /* -*- C++ -*- */
  2. #define _PILOT_APPINFO_H_
  3.  
  4. #include "pi-args.h"
  5.  
  6. #ifdef __cplusplus
  7. extern "C" {
  8. #endif
  9.  
  10. struct CategoryAppInfo {
  11.   unsigned int renamed[16]; /* Boolean array of categories with changed names */
  12.   char name[16][16]; /* 16 categories of 15 characters+nul each */
  13.   unsigned char ID[16]; 
  14.   unsigned char lastUniqueID; /* Each category gets a unique ID, for sync tracking
  15.                                  purposes. Those from the Pilot are between 0 & 127.
  16.                                  Those from the PC are between 128 & 255. I'm not
  17.                                  sure what role lastUniqueID plays. */
  18. };
  19.  
  20. extern int unpack_CategoryAppInfo PI_ARGS((struct CategoryAppInfo *, unsigned char * AppInfo, int len));
  21. extern int pack_CategoryAppInfo PI_ARGS((struct CategoryAppInfo *, unsigned char * AppInfo, int len));
  22.  
  23. #ifdef __cplusplus
  24. }
  25.  
  26. #include "pi-appinfo.hxx"
  27.  
  28. #endif /*__cplusplus*/
  29.  
  30. #endif /* _PILOT_APPINFO_H_ */
  31.